package com.brightfuture.chrms;

import com.brightfuture.chrms.common.feign.annotation.EnableChrmsFeignClients;
import com.brightfuture.chrms.common.security.annotation.EnableChrmsResourceServer;
import com.brightfuture.chrms.common.swagger.annotation.EnableOpenApi;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author chrms archetype
 * <p>
 * 项目启动类
 */
@EnableOpenApi("cloud-hrms")
@EnableChrmsFeignClients
@EnableDiscoveryClient
@EnableChrmsResourceServer
@SpringBootApplication
public class ChrmsApp {
    public static void main(String[] args) {
        SpringApplication.run(ChrmsApp.class, args);
    }

}
